package com.gw2.gw2world.web.server.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;

@Entity
public class Color {
	@Id
	@Column(name="id")
	int id;
	@Column(name="base_rgb")
	int base_rgb;
	ColorDetail cloath,leather,metal;
	public Color() {
		cloath =new ColorDetail();
		leather=new ColorDetail();
		metal  =new ColorDetail();
	}
	public class ColorDetail {
		int brightness;
		float contrast;
		int hue;
		float saturation, lightness;
		int rgb;
		public int getBrightness() {return brightness;}
		public void setBrightness(int brightness) {this.brightness = brightness;}
		public float getContrast() {return contrast;}
		public void setContrast(float contrast) {this.contrast = contrast;}
		public int getHue() {return hue;}
		public void setHue(int hue) {this.hue = hue;}
		public float getSaturation() {return saturation;}
		public void setSaturation(float saturation) {this.saturation = saturation;}
		public float getLightness() {return lightness;}
		public void setLightness(float lightness) {this.lightness = lightness;}
		public int getRgb() {return rgb;}
		public void setRgb(int rgb) {this.rgb = rgb;}
	}
	public int getId() {return id;}
	public void setId(int id) {this.id = id;}
	public int getBase_rgb() {return base_rgb;}
	public void setBase_rgb(int base_rgb) {this.base_rgb = base_rgb;}
	public ColorDetail getCloath() {return cloath;}
	public void setCloath(ColorDetail cloath) {this.cloath = cloath;}
	public ColorDetail getLeather() {return leather;}
	public void setLeather(ColorDetail leather) {this.leather = leather;}
	public ColorDetail getMetal() {return metal;}
	public void setMetal(ColorDetail metal) {this.metal = metal;
	}
	
}
